Ext.define('Safe.view.common.CenterTab',{
    extend:'Ext.tab.Panel',
    requires:['Safe.view.user.UserGrid'],
    alias:'widget.CenterTab',
    initComponent:function(){
        var me=this;
        Ext.applyIf(me,{
            items: [{
                title: '首页'
            }, {
                title: '用户列表',
                closable:true,
                layout:'border',
                xtype:'panel',
                items:[{
                    xtype:'UserGrid',
                    region:'center'
                }]
//                html:'this is userGrid!'
            }]
        });
        me.callParent(arguments);
    }
});


